<template>
 <div class="box">
  <div class="head">
      <van-icon class="arrow-left" name="arrow-left" @click="goBack" color="blue"/> 商品分类
  </div>
    <div class="content">
     <SelectVue></SelectVue>
     <!-- <BrandVue></BrandVue> -->
    </div>
    <FooterVue  class="footer"></FooterVue>
  </div>

</template>

<script>
import FooterVue  from '@/components/Footer.vue'
import SelectVue from '@/components/Category/Select.vue'
// import BrandVue from '@/components/Brand.vue'

export default {
  name:"Category",
  components:{
    FooterVue,SelectVue
  },
  methods:{
     goBack(){
       this.$router.back();
    }
  },
  data(){
    return{

    }
  }
}
</script>

<style scoped>
  .box{
    width: 100%;
    height:100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* background-color: skyblue; */
  }


  .content{
    flex:1;
    overflow: auto;
    background-color: pink;
    text-align: center;
  }
  .head {
  height: 3rem;
  background-color: skyblue;
  text-align: center;
  line-height: 3rem;
}
.arrow-left {
  float: left;
  margin: 1rem;
}
</style>